Skip to main content

Control Constructors

An object defining constructors for the Control class.

Control(controlObject, session, projectDeploymentUrl)

Initializes a new instance of the Control class with a specified control object, session, and project deployment URL.

Parameters:

controlObject (required): JObject
The JSON representation of the control.

session (required): FormSession
The form session associated with the control.

projectDeploymentUrl (required): string
The deployment URL of the project.


Control(controlObject, projectDeploymentUrl)

Initializes a new instance of the Control class with a specified control object and project deployment URL.

Parameters:

controlObject (required): JObject
The JSON representation of the control.

projectDeploymentUrl (required): string
The deployment URL of the project.